package po;

import java.util.List;

/**
 * Create By IntelliJ IDEA
 *
 * @author: jsonor
 * @create-Time: 2017/10/23 13:48
 * @description: ${description}
 */
public class PageCity {

  /**
   * 当前页有几个城市
   */
  private List<City> cities;
  /**
   * 当前页码
   */
  private int pageIndex;
  /**
   * 总页数
   */
  private int totalPage;

  public PageCity(List<City> cities, int pageIndex, int totalPage) {
    this.cities = cities;
    this.pageIndex = pageIndex;
    this.totalPage = totalPage;
  }

  public PageCity() {
  }

  public List<City> getCities() {
    return cities;
  }

  public void setCities(List<City> cities) {
    this.cities = cities;
  }

  public int getPageIndex() {
    return pageIndex;
  }

  public void setPageIndex(int pageIndex) {
    this.pageIndex = pageIndex;
  }

  public int getTotalPage() {
    return totalPage;
  }

  public void setTotalPage(int totalPage) {
    this.totalPage = totalPage;
  }
}
